package com.youmans.dfsservice;

import org.springframework.boot.SpringApplication;
import org.springframework.boot.autoconfigure.SpringBootApplication;
import org.springframework.cache.annotation.EnableCaching;
import org.springframework.cloud.client.discovery.EnableDiscoveryClient;
import org.springframework.cloud.openfeign.EnableFeignClients;
import org.springframework.context.annotation.ComponentScan;
@EnableDiscoveryClient
//@EnableFeignClients
@EnableFeignClients(basePackages = "com.youmans")
@SpringBootApplication
@ComponentScan("com.youmans")//扫描组件包
@EnableCaching
public class DfsApplication {
    public static void main(String[] args) {
        SpringApplication.run(DfsApplication.class,args) ;
    }
}
